<?xml version="1.0" encoding="UTF-8"?>

<div xmlns="http://www.w3.org/1999/xhtml" xid="window" class="window" component="$model/UI2/system/components/justep/window/window" data-bind="component:{name:'$model/UI2/system/components/justep/window/window'}" __justepbasexid__="__baseID__" components="$model/UI2/system/components/justep/panel/panel,$model/UI2/system/components/justep/panel/child,$model/UI2/system/components/justep/windowDialog/windowDialog,$model/UI2/system/components/justep/model/model,$model/UI2/system/components/justep/window/window,$model/UI2/system/components/justep/titleBar/titleBar,$model/UI2/system/components/justep/button/button,$model/UI2/system/components/justep/popOver/popOver,">  
  <div xmlns="" component="$model/UI2/system/components/justep/model/model" xid="model" style="display:none" data-bind="component:{name:'$model/UI2/system/components/justep/model/model'}"/>  
  <div xmlns="" component="$model/UI2/system/components/justep/popOver/popOver" class="x-popOver" xid="demoPopOver" data-bind="component:{name:'$model/UI2/system/components/justep/popOver/popOver'}" data-config="{&quot;anchor&quot;:&quot;button1&quot;,&quot;dismissible&quot;:true,&quot;opacity&quot;:0.1,&quot;position&quot;:&quot;bottom&quot;}"> 
    <div class="x-popOver-overlay" xid="div6"/>  
    <div class="x-popOver-content" xid="div7"> 
      <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1" style="display: block; position: static;"> 
        <li role="presentation"> 
          <a role="menuitem" tabindex="0" data-bind="event:{click:$model._callModelFn.bind($model, 'a1Click')}">Action</a> 
        </li>  
        <li role="presentation"> 
          <a role="menuitem" tabindex="0" data-bind="event:{click:$model._callModelFn.bind($model, 'a1Click')}">Another action</a> 
        </li>  
        <li role="presentation"> 
          <a role="menuitem" tabindex="0" data-bind="event:{click:$model._callModelFn.bind($model, 'a1Click')}">Something else here</a> 
        </li>  
        <li role="presentation" class="divider"/>  
        <li role="presentation"> 
          <a role="menuitem" tabindex="0" class="btn-warning" data-bind="event:{click:$model._callModelFn.bind($model, 'a1Click')}">Cancel</a> 
        </li> 
      </ul> 
    </div> 
  </div>  
  <div xmlns="" component="$model/UI2/system/components/justep/panel/panel" class="x-panel x-full" xid="panel1" data-bind="component:{name:'$model/UI2/system/components/justep/panel/panel'}"> 
    <div class="x-panel-top" xid="top1" component="$model/UI2/system/components/justep/panel/child" data-bind="component:{name:'$model/UI2/system/components/justep/panel/child'}"> 
      <div component="$model/UI2/system/components/justep/titleBar/titleBar" class="x-titlebar" xid="titleBar1" data-bind="component:{name:'$model/UI2/system/components/justep/titleBar/titleBar'}" data-config="{&quot;title&quot;:&quot;popOver&quot;}"> 
        <div class="x-titlebar-left" xid="div1"> 
          <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link" xid="button3" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:backBtn" data-config="{&quot;icon&quot;:&quot;icon-chevron-left&quot;}"> 
            <i xid="i3" class="icon-chevron-left"/>  
            <span xid="span3"/> 
          </a> 
        </div>  
        <div class="x-titlebar-title" xid="div2">popOver</div>  
        <div class="x-titlebar-right " xid="div3"> 
          <div class="empty"/> 
        </div> 
      </div> 
    </div>  
    <div class="x-panel-content" xid="content1" component="$model/UI2/system/components/justep/panel/child" data-bind="component:{name:'$model/UI2/system/components/justep/panel/child'}"> 
      <h3 style="height:48px;vertical-align: middle;padding: 8px;display: inline-block;">popOver</h3>  
      <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link" xid="button4" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:showJsSource" data-config="{&quot;label&quot;:&quot;js&quot;}"> 
        <i xid="i4"/>  
        <span xid="span4">js</span> 
      </a>  
      <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link" xid="button2" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'},visible:isVisible" data-events="onClick:showPopOverSource" data-config="{&quot;label&quot;:&quot;源码&quot;}"> 
        <i xid="i2"/>  
        <span xid="span2">源码</span> 
      </a>  
      <div> 
        <p>弹出一个遮罩层,里面可放置任意组件或者数据,页面不可视,结合可视组件使用</p> 
      </div>  
      <div style="text-align:center"> 
        <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link" xid="button1" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:showPopOver" data-config="{&quot;label&quot;:&quot;click me&quot;}"> 
          <i xid="i1"/>  
          <span xid="span1">click me</span> 
        </a> 
      </div> 
    </div> 
  </div>  
  <span xmlns="" component="$model/UI2/system/components/justep/windowDialog/windowDialog" xid="windowDialog" data-bind="component:{name:'$model/UI2/system/components/justep/windowDialog/windowDialog'}" data-config="{&quot;src&quot;:&quot;$model/UI2/system/components/justep/common/demo/dialog.w&quot;}"> 
    <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog-overlay"></div>  
    <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog">  
      <div class="x-dialog-title"> 
        <button class="close"> 
          <span>×</span> 
        </button>  
        <div class="x-dialog-title-text"/> 
      </div>  
      <div class="x-dialog-body"/> 
    </div> 
  </span> 
</div>
